﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SalesOneWeb.Master" AutoEventWireup="true" CodeBehind="AddBranch.aspx.cs" Inherits="IronOne.SalesOne.SalesOneWeb.AddBranch" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">

    .style2
    {
            width: 253px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<table>
    <tr>
        <td colspan="3">
            &nbsp;</td>
    </tr>
    <tr> 
        <td colspan="3">
            <asp:Label ID="lblHeader" runat="server" Font-Bold="True" Text="test"></asp:Label>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="GroupLabel" runat="server" Text="Group:"></asp:Label>
        </td>
        <td class="style2">
            <asp:DropDownList ID="GroupDropDownList" runat="server">
                <asp:ListItem Selected="True" Value="4">LMS ASOKA</asp:ListItem>
            </asp:DropDownList>
            <asp:Label ID="lblGroup" runat="server"></asp:Label>
            <asp:RequiredFieldValidator ID="GroupRequiredFieldValidator" runat="server" 
                ControlToValidate="GroupDropDownList" 
                ErrorMessage="GroupRequiredFieldValidator is Required" 
                ToolTip="Group RequiredFieldValidator is Required">*</asp:RequiredFieldValidator>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="CodeLabel" runat="server" Text="Code:"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="txtCode" runat="server"></asp:TextBox>
            <asp:Label ID="lblCode" runat="server"></asp:Label>
            <asp:RequiredFieldValidator ID="CodeRequiredFieldValidator" runat="server" 
                ControlToValidate="txtCode" ErrorMessage="CodeRequiredFieldValidator is Required" 
                ToolTip="CodeRequiredFieldValidator is Required">*</asp:RequiredFieldValidator>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="NameLabel" runat="server" Text="Name:"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
            <asp:Label ID="lblName" runat="server"></asp:Label>
            <asp:RequiredFieldValidator ID="NameRequiredFieldValidator" runat="server" 
                ControlToValidate="txtName" ErrorMessage="NameRequiredFieldValidator is required" 
                ToolTip="NameRequiredFieldValidator is required">*</asp:RequiredFieldValidator>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="AddressLabel" runat="server" Text="Address:"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="txtAdress1" runat="server"></asp:TextBox>
            <asp:Label ID="lblAddress1" runat="server"></asp:Label>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td class="style2">
            <asp:TextBox ID="txtAddress2" runat="server"></asp:TextBox>
            <asp:Label ID="lblAddress2" runat="server"></asp:Label>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="CityLabel" runat="server" Text="City:"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="txtCity" runat="server"></asp:TextBox>
            <asp:Label ID="lblCity" runat="server"></asp:Label>
            <asp:RequiredFieldValidator ID="CityRequiredFieldValidator" runat="server" 
                ControlToValidate="txtCity" ErrorMessage="CityRequiredFieldValidator is required" 
                ToolTip="CityRequiredFieldValidator is required">*</asp:RequiredFieldValidator>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="CountryLabel" runat="server" Text="Country:"></asp:Label>
        </td>
        <td class="style2">
            <asp:DropDownList ID="CountryDropDownList" runat="server">
                <asp:ListItem Selected="True">SL</asp:ListItem>
                <asp:ListItem>Please Select</asp:ListItem>
                <asp:ListItem Value="IN">IN</asp:ListItem>
            </asp:DropDownList>
            <asp:Label ID="lblCountry" runat="server"></asp:Label>
            <asp:RequiredFieldValidator ID="CountryRequiredFieldValidator" runat="server" 
                ControlToValidate="CountryDropDownList" 
                ErrorMessage="CountryRequiredFieldValidator is required" 
                ToolTip="CountryRequiredFieldValidator is required">*</asp:RequiredFieldValidator>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="PostalCodeLabel" runat="server" Text="Postal Code:"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="txtPostalCode" runat="server"></asp:TextBox>
            <asp:Label ID="lblPostalCode" runat="server"></asp:Label>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="ContactNoLabel" runat="server" Text="Contact No:"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="txtContactNo" runat="server"></asp:TextBox>
            <asp:Label ID="lblContactNo" runat="server"></asp:Label>
            <asp:RequiredFieldValidator ID="ContactNoRequiredFieldValidator" runat="server" 
                ControlToValidate="txtContactNo" 
                ErrorMessage="ContactNoRequiredFieldValidator is required" 
                ToolTip="ContactNoRequiredFieldValidator is required">*</asp:RequiredFieldValidator>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="EffectiveFromLabel" runat="server" Text="Effective From:"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="txtEffectiveFrom" runat="server"></asp:TextBox>
            <asp:Label ID="lblEffectiveFrom" runat="server"></asp:Label>
            <asp:RequiredFieldValidator ID="EffectiveFromRequiredFieldValidator" 
                runat="server" ControlToValidate="txtEffectiveFrom" 
                ErrorMessage="EffectiveFromRequiredFieldValidator is required" 
                ToolTip="EffectiveFromRequiredFieldValidator is required">*</asp:RequiredFieldValidator>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="EffectiveToLabel" runat="server" Text="Effective To:"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="txtEffectiveTo" runat="server" ></asp:TextBox>
            <asp:Label ID="lblEffectiveTo" runat="server"></asp:Label>
            <asp:RequiredFieldValidator ID="EffectiveToRequiredFieldValidator" 
                runat="server" ControlToValidate="txtEffectiveTo" 
                ErrorMessage="EffectiveToRequiredFieldValidator is required" 
                ToolTip="EffectiveToRequiredFieldValidator is required">*</asp:RequiredFieldValidator>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td class="style2">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="btnDone" runat="server" Text="Done" onclick="Button1_Click" 
                Width="59px" />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="Button5" runat="server" Text="Cancel" />
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td class="style2">
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td class="style2">
            <asp:CompareValidator ID="FromToCompareValidator" runat="server" 
                ControlToCompare="txtEffectiveTo" ControlToValidate="txtEffectiveFrom" 
                ErrorMessage="Effective To Date must be greater than Effective From Date" Operator="LessThan" 
                Type="Date"></asp:CompareValidator>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td class="style2">
            <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td class="style2">
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td class="style2">
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
</table>


</asp:Content>

